﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000541 RID: 1345
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FightEnterScRsp : IMessage<FightEnterScRsp>, IMessage, IEquatable<FightEnterScRsp>, IDeepCloneable<FightEnterScRsp>, IBufferMessage
	{
		// Token: 0x17001161 RID: 4449
		// (get) Token: 0x06003CB7 RID: 15543 RVA: 0x000A7663 File Offset: 0x000A5863
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FightEnterScRsp> Parser
		{
			get
			{
				return FightEnterScRsp._parser;
			}
		}

		// Token: 0x17001162 RID: 4450
		// (get) Token: 0x06003CB8 RID: 15544 RVA: 0x000A766A File Offset: 0x000A586A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FightEnterScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001163 RID: 4451
		// (get) Token: 0x06003CB9 RID: 15545 RVA: 0x000A767C File Offset: 0x000A587C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FightEnterScRsp.Descriptor;
			}
		}

		// Token: 0x06003CBA RID: 15546 RVA: 0x000A7683 File Offset: 0x000A5883
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightEnterScRsp()
		{
		}

		// Token: 0x06003CBB RID: 15547 RVA: 0x000A768C File Offset: 0x000A588C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightEnterScRsp(FightEnterScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.oMOGHACHNEJ_ = other.oMOGHACHNEJ_;
			this.dAPCAKALMJB_ = other.dAPCAKALMJB_;
			this.serverTimestampMs_ = other.serverTimestampMs_;
			this.secretKeySeed_ = other.secretKeySeed_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003CBC RID: 15548 RVA: 0x000A76EC File Offset: 0x000A58EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightEnterScRsp Clone()
		{
			return new FightEnterScRsp(this);
		}

		// Token: 0x17001164 RID: 4452
		// (get) Token: 0x06003CBD RID: 15549 RVA: 0x000A76F4 File Offset: 0x000A58F4
		// (set) Token: 0x06003CBE RID: 15550 RVA: 0x000A76FC File Offset: 0x000A58FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001165 RID: 4453
		// (get) Token: 0x06003CBF RID: 15551 RVA: 0x000A7705 File Offset: 0x000A5905
		// (set) Token: 0x06003CC0 RID: 15552 RVA: 0x000A770D File Offset: 0x000A590D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OMOGHACHNEJ
		{
			get
			{
				return this.oMOGHACHNEJ_;
			}
			set
			{
				this.oMOGHACHNEJ_ = value;
			}
		}

		// Token: 0x17001166 RID: 4454
		// (get) Token: 0x06003CC1 RID: 15553 RVA: 0x000A7716 File Offset: 0x000A5916
		// (set) Token: 0x06003CC2 RID: 15554 RVA: 0x000A771E File Offset: 0x000A591E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool DAPCAKALMJB
		{
			get
			{
				return this.dAPCAKALMJB_;
			}
			set
			{
				this.dAPCAKALMJB_ = value;
			}
		}

		// Token: 0x17001167 RID: 4455
		// (get) Token: 0x06003CC3 RID: 15555 RVA: 0x000A7727 File Offset: 0x000A5927
		// (set) Token: 0x06003CC4 RID: 15556 RVA: 0x000A772F File Offset: 0x000A592F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong ServerTimestampMs
		{
			get
			{
				return this.serverTimestampMs_;
			}
			set
			{
				this.serverTimestampMs_ = value;
			}
		}

		// Token: 0x17001168 RID: 4456
		// (get) Token: 0x06003CC5 RID: 15557 RVA: 0x000A7738 File Offset: 0x000A5938
		// (set) Token: 0x06003CC6 RID: 15558 RVA: 0x000A7740 File Offset: 0x000A5940
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ulong SecretKeySeed
		{
			get
			{
				return this.secretKeySeed_;
			}
			set
			{
				this.secretKeySeed_ = value;
			}
		}

		// Token: 0x06003CC7 RID: 15559 RVA: 0x000A7749 File Offset: 0x000A5949
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FightEnterScRsp);
		}

		// Token: 0x06003CC8 RID: 15560 RVA: 0x000A7758 File Offset: 0x000A5958
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FightEnterScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.OMOGHACHNEJ == other.OMOGHACHNEJ && this.DAPCAKALMJB == other.DAPCAKALMJB && this.ServerTimestampMs == other.ServerTimestampMs && this.SecretKeySeed == other.SecretKeySeed && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003CC9 RID: 15561 RVA: 0x000A77D4 File Offset: 0x000A59D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.OMOGHACHNEJ != 0U)
			{
				num ^= this.OMOGHACHNEJ.GetHashCode();
			}
			if (this.DAPCAKALMJB)
			{
				num ^= this.DAPCAKALMJB.GetHashCode();
			}
			if (this.ServerTimestampMs != 0UL)
			{
				num ^= this.ServerTimestampMs.GetHashCode();
			}
			if (this.SecretKeySeed != 0UL)
			{
				num ^= this.SecretKeySeed.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003CCA RID: 15562 RVA: 0x000A7877 File Offset: 0x000A5A77
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003CCB RID: 15563 RVA: 0x000A787F File Offset: 0x000A5A7F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003CCC RID: 15564 RVA: 0x000A7888 File Offset: 0x000A5A88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DAPCAKALMJB)
			{
				output.WriteRawTag(8);
				output.WriteBool(this.DAPCAKALMJB);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			if (this.ServerTimestampMs != 0UL)
			{
				output.WriteRawTag(88);
				output.WriteUInt64(this.ServerTimestampMs);
			}
			if (this.SecretKeySeed != 0UL)
			{
				output.WriteRawTag(104);
				output.WriteUInt64(this.SecretKeySeed);
			}
			if (this.OMOGHACHNEJ != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.OMOGHACHNEJ);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003CCD RID: 15565 RVA: 0x000A7934 File Offset: 0x000A5B34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.OMOGHACHNEJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OMOGHACHNEJ);
			}
			if (this.DAPCAKALMJB)
			{
				num += 2;
			}
			if (this.ServerTimestampMs != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.ServerTimestampMs);
			}
			if (this.SecretKeySeed != 0UL)
			{
				num += 1 + CodedOutputStream.ComputeUInt64Size(this.SecretKeySeed);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003CCE RID: 15566 RVA: 0x000A79C8 File Offset: 0x000A5BC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FightEnterScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.OMOGHACHNEJ != 0U)
			{
				this.OMOGHACHNEJ = other.OMOGHACHNEJ;
			}
			if (other.DAPCAKALMJB)
			{
				this.DAPCAKALMJB = other.DAPCAKALMJB;
			}
			if (other.ServerTimestampMs != 0UL)
			{
				this.ServerTimestampMs = other.ServerTimestampMs;
			}
			if (other.SecretKeySeed != 0UL)
			{
				this.SecretKeySeed = other.SecretKeySeed;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003CCF RID: 15567 RVA: 0x000A7A54 File Offset: 0x000A5C54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003CD0 RID: 15568 RVA: 0x000A7A60 File Offset: 0x000A5C60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 32U)
				{
					if (num == 8U)
					{
						this.DAPCAKALMJB = input.ReadBool();
						continue;
					}
					if (num == 32U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 88U)
					{
						this.ServerTimestampMs = input.ReadUInt64();
						continue;
					}
					if (num == 104U)
					{
						this.SecretKeySeed = input.ReadUInt64();
						continue;
					}
					if (num == 120U)
					{
						this.OMOGHACHNEJ = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04001819 RID: 6169
		private static readonly MessageParser<FightEnterScRsp> _parser = new MessageParser<FightEnterScRsp>(() => new FightEnterScRsp());

		// Token: 0x0400181A RID: 6170
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400181B RID: 6171
		public const int RetcodeFieldNumber = 4;

		// Token: 0x0400181C RID: 6172
		private uint retcode_;

		// Token: 0x0400181D RID: 6173
		public const int OMOGHACHNEJFieldNumber = 15;

		// Token: 0x0400181E RID: 6174
		private uint oMOGHACHNEJ_;

		// Token: 0x0400181F RID: 6175
		public const int DAPCAKALMJBFieldNumber = 1;

		// Token: 0x04001820 RID: 6176
		private bool dAPCAKALMJB_;

		// Token: 0x04001821 RID: 6177
		public const int ServerTimestampMsFieldNumber = 11;

		// Token: 0x04001822 RID: 6178
		private ulong serverTimestampMs_;

		// Token: 0x04001823 RID: 6179
		public const int SecretKeySeedFieldNumber = 13;

		// Token: 0x04001824 RID: 6180
		private ulong secretKeySeed_;
	}
}
